import request from '@/utils/request'

export function getSysUserPage(query) {
  return request({
    url: '/api/system/assignManage/userApply/listPage',
    method: 'post',
    data: query
  })
}

export function addSkillGroup(form) {
  return request({
    url: '/api/system/assignManage/userApply/verifyApply',
    method: 'post',
    data: form
  })
}

export function deleteSysUser(id) {
  return request({
    url: '/api/system/assignManage/userApply/delete',
    method: 'post',
    data: { 'id': id }
  })
}

export function getLogById(id) {
  return request({
    url: '/api/system/log/detail',
    method: 'post',
    data: { 'id': id }
  })
}
export function getReason(id) {
  return request({
    url: '/api/system/reason/listPage',
    method: 'post',
    data: { 'typesId': id }
  })
}

export function getSelectAll(id) {
  return request({
    url: '/api/system/type/selectAll',
    method: 'post',
    data: {}
  })
}
